calling database driver in java app [basically a swing app]

Posted by user993250 on Stack Overflow See other posts from Stack Overflow or by user993250
Published on 2011-11-11T17:42:52Z Indexed on 2011/11/11 17:52 UTC
Read the original article Hit count: 192

I have made a java application that allows a user to choose from certain standards and then allows him to customize those standards according to his needs. Now, the customization [via a swing application] that has been made needs to be persistent. For this we use a database [mysql/access] and hook it to the application so that with each customization made, a table [if non-existent] is created [thus making it runtime and we can not pre-determine the table names or the keys of table etc] and an appropriate entry in the table is made.

I have written the driver for this connection.

How do I call it in the java application and what approach should I take?

I would much appreciate that if somebody can refer me some example that not only shows a sample connection being made via driver but its appropriate calls to the database as well so that i can use it as a guide.

© Stack Overflow or respective owner

Related posts about java

Related posts about database-design